﻿using System.Collections.Generic;
using Rodunu.Movies.Services.Models.Netflix.Attributes;

namespace Rodunu.Movies.Services.Models.Netflix
{
    public class Filmography : List<FilmographyItem>
    {
        [XPath("/filmography/filmography_item")]
        public List<FilmographyItem> Items
        {
            get { return this; }
        }
    }

    public class FilmographyItem : Item {
        public override string TitleRef
        {
            get { return base.Id; }
        }
    }
}